<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1;">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <script src="../../../../public/vendor/flexible/flexible.js"></script>
    <title>销售定价表-详情</title>
    <link rel="stylesheet" type="text/css" href="../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../public/vendor/weui/jquery-weui.css">
    <link rel="stylesheet" href="../../../../public/vendor/select2/select2.css">
    <link rel="stylesheet" href="../../../../public/css/features/breedsales/salespricings/salespricingsinfo.css">
    <script id="looksalesplanmain-template" type="text/x-template">
        <div class='entrycon'>
            <h4 class="plantails-head" style="padding-top: 10px;font-size: 17px;">单据信息</h4>
        </div>
        <div class="report-contents-item-box">
            <div class="weui-cell materialinfo">
                <div class="weui-cell__hd"><label class="weui-label">单据编号</label></div>
                <div class="weui-cell__bd">
                    {{=it.bizFormObj.billNo}}
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">销售日期</label></div>
                <div class="weui-cell__bd">
                    {{=moment(it.bizFormObj.bizDate).format('YYYY-MM-DD')}}
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">农场</label></div>
                <div class="weui-cell__bd"> {{=it.farmName}} </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">定价类型</label></div>
                <div class="weui-cell__bd">{{=it.pigTypeName}}</div>
            </div>
        </div>
    </script>

    <script id="looksalesplan-template" type="text/x-template">
        <div class='entrycon'>
            <h4 class="plantails-head" style="padding-top: 10px;font-size: 17px;">单据明细</h4>
        </div>
        <div class="report-contents-item-box" style="overflow-x: auto; white-space: nowrap;">
           <table style="text-align:center;border-collapse:separate;border-spacing:opx 10px;">
                <thead>
                    <tr style="margin-bottom:10px">
                        <td style="padding:10px;">序号</td>
                        <td style="padding:10px;">养殖批次</td>
                        <td style="padding:10px;">客户</td>
                        <td style="padding:10px;">物料</td>
                        <td style="padding:10px;">销售单位</td>
                        <td style="padding:10px;">胎次</td>
                        <td style="padding:10px;">周次</td>
                        <td style="padding:10px;">单价(元)</td>
                        <td style="padding:10px;">均重下限(KG)</td>
                        <td style="padding:10px;">均重上限(KG)</td>
                        <td style="padding:10px;">票据类型</td>
                    </tr>
                </thead>
                <tbody>
                    {{~ it.entreis :value:index}}
                    <tr style="margin-bottom:10px">
                        <td style="padding:10px;">{{=index+1}}</td>
                        <td style="padding:10px;">{{=value.breedBatchName}}</td>
                        <td style="padding:10px;">{{=value.customerName}}</td>
                        <td style="padding:10px;">{{=value.materialName}}</td>
                        <td style="padding:10px;">{{=value.saleUnit||''}}</td>
                        <td style="padding:10px;">{{=value.parity||''}}</td>
                        <td style="padding:10px;">{{=value.weekCount||''}}</td>
                        <td style="padding:10px;">{{=value.price}}</td>
                        <td style="padding:10px;">{{=value.weightLow}}</td>
                        <td style="padding:10px;">{{=value.weightHigh}}</td>
                        <td style="padding:10px;">{{=value.bTypeName}}</td>
                    </tr>
                    {{~}}
                </tbody>
           </table>
        </div>
        <div class="report-contents-item-box operation ">
            <div class="weui-cell operation-child">
                <a href="javascript:;" class="weui-btn weui-btn_primary"
                   style="width: 100%;border-radius:8px;margin-top: 0px;margin-right: 0px;" id="returnlist"
                   v-on:click="returnlist">返回列表</a>
            </div>
        </div>
    </script>
</head>

<body>
    <div id="main-looksalesplan">
        <div id="looksalesplan">
            <div id="looksalesMain">
            </div>
            <div id="looksalesEntry">
            </div>
        </div>
    </div>


    <script type="text/javascript" src="../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/select2.full.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/i18n/zh-CN.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>

    <script type="module" src="../../../../public/js/features/breedsales/salespricings/salespricingsinfo.js"></script>


</body>

</html>